#include "MsgQueue.hpp"

int main()
{
    Client client;

    while (true)
    {
        std::string buf;
        client.Recv(SERVER_MSG_TYPE, &buf);
        std::cout << buf << std::endl;

        std::string msg = "[客户端消息]:你好,服务器";
        client.Send(CLIENT_MSG_TYPE, msg);
        sleep(1);
    }
    return 0;
}